import request from '@/utils/request'


export function getdynamic(id) {
  return request({
    url: `/system/organization/${id}`,
    method: 'get'
  })
}

export function getList(data) {
  return request({
    url: `/system/organization/list`,
	data,
    method: 'get'
  })
}

export function postorganization(data) {
  return request({
    url: `/system/organization`,
	data,
    method: 'post'
  })
}

export function putorganization(data) {
  return request({
    url: `/system/organization`,
	data,
    method: 'put'
  })
}